package com.zksk.admin.service.customer;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zksk.admin.domain.customer.vo.CustomerFVo;
import com.zksk.admin.domain.customer.vo.CustomerVo;
import com.zksk.common.core.domain.R;
import com.zksk.mbg.admin.domain.Customer;

/**
 *
 * @auther xiebo
 * @date 2022/12/2
 **/
public interface CustomerService  extends IService<Customer>{

    R insert(CustomerVo customerVo);

    boolean checkUserNameUnique(String customerName);

    boolean checkContacts(String contacts);

    boolean checkContactsPhone(String contactsPhone);

    R updateCustomer(CustomerVo customerVo);

    R<Page<CustomerVo>> selectList(CustomerFVo customerFVo);

}
